package com.northpool.operator.http.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "httpOperator")
@XmlAccessorType(XmlAccessType.FIELD)
public class HttpOperatorBean {
    @XmlElement(
            name = "ref"
    )
    String ref;
    @XmlElement(
            name = "name"
    )
    String name;
    @XmlElement(
            name = "version"
    )
    String version;
    @XmlElement(
            name = "title"
    )
    @Deprecated
    String title;
    @XmlElement(
            name = "description"
    )
    String description;
    @XmlElement(
            name = "writer"
    )
    String writer;
    @XmlElement(
            name = "disk"
    )
    @Deprecated
    String disk = "0.3g";
    @XmlElement(
            name = "memory"
    )
    @Deprecated
    String memory = "256M";
    @XmlElement(
            name = "maxtime"
    )
    Long maxtime;
    @XmlElement(
            name = "startApi"
    )
    StartApiBean startApi;
    @XmlElement(
            name = "statusApi"
    )
    StatusApiBean statusApi;
    @XmlElement(
            name = "logApi"
    )
    LogApiBean logApi;
    @XmlElement(
            name = "progressApi"
    )
    ProgressApi progressApi;

    @XmlElement(
            name = "resultApi"
    )
    ResultApiBean resultApi;

    public String getRef() {
        return ref;
    }

    public void setRef(String ref) {
        this.ref = ref;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public Long getMaxtime() {
        return maxtime;
    }

    public void setMaxtime(Long maxtime) {
        this.maxtime = maxtime;
    }

    public String getDisk() {
        return disk;
    }

    public void setDisk(String disk) {
        this.disk = disk;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public StartApiBean getStartApi() {
        return startApi;
    }

    public void setStartApi(StartApiBean startApi) {
        this.startApi = startApi;
    }

    public ProgressApi getProgressApi() {
        return progressApi;
    }

    public void setProgressApi(ProgressApi progressApi) {
        this.progressApi = progressApi;
    }

    public LogApiBean getLogApi() {
        return logApi;
    }

    public void setLogApi(LogApiBean logApi) {
        this.logApi = logApi;
    }

    public StatusApiBean getStatusApi() {
        return statusApi;
    }

    public void setStatusApi(StatusApiBean statusApi) {
        this.statusApi = statusApi;
    }

    public ResultApiBean getResultApi() {
        return resultApi;
    }

    public void setResultApi(ResultApiBean resultApi) {
        this.resultApi = resultApi;
    }
}
